﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_Index_Main.aspx.cs"
    Inherits="V5_EShop.Admin.Admin_Index_Main" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>无标题页</title>
    <%=V5.Load.LoadAdminHeader(this) %>
    <script src="Libs/OpenFlashChart/swfobject.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" class="tablelist">
        <tr>
            <td class="header">
                管理首页
            </td>
        </tr>
        <tr>
            <td>
                管理首页 | <a href="Tools/Admin_ServerInfo.aspx">查看服务器环境</a> | <a href="Tools/Admin_Config.aspx">系统配置</a>
            </td>
        </tr>
    </table>
    <table border="0" cellpadding="0" cellspacing="0" style="margin: 0 auto; width: 99%;">
        <tr>
            <td style="width: 50%;" valign="top" align="left">
                <table cellpadding="0" cellspacing="0" class="tablelist">
                    <tr>
                        <td  class="header">
                            新进订单
                        </td> 
                        <td  class="header">
                            客户
                        </td>
                        <td  class="header">
                            下定时间
                        </td>
                    </tr>
                    <asp:Repeater ID="rpList1" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td>
                                    <a href="Admin_ProductOrder.aspx?action=edit&OrderID=<%# Eval("ID") %>">
                                        <%#Eval("BillNo")%></a>
                                </td>
                                <td>
                                    <%--<a href="Admin_ProductOrder.aspx?action=edit&OrderID=<%# Eval("ID") %>">
                                        <%# this.Get_User(Eval("CustomID")).CustomName%></a>--%>
                                         <%# this.Get_User(Eval("CustomID")).CustomName%>
                                </td>
                                <td>
                                    <%#Eval("createdatetime")%>
                                </td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
            <td valign="top" align="left">
                <table cellpadding="0" cellspacing="0" class="tablelist">
                    <tr>
                        <td colspan="3" class="header">
                            最新客户
                        </td>
                    </tr>
                    <tr>
                        <td>
                            客户编号
                        </td>
                        <td>
                            客户账号
                        </td>
                        <td>
                            注册时间
                        </td>
                    </tr>
                    <asp:Repeater ID="rpList2" runat="server">
                        <ItemTemplate>
                            <tr>
                                <td><%#Eval("CustomNo")%></td>
                                <td><%#Eval("CustomName")%></td>
                                <td><%#Eval("CreateDate")%></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </table>
            </td>
        </tr>
    </table>
   <%-- <table border="0" cellpadding="0" cellspacing="0" style="margin: 0 auto; width: 99%;">
        <tr>
            <td style="width: 50%;" valign="top" align="left">
                <table border="0" cellpadding="0" cellspacing="0" class="tablelist">
                    <tr>
                        <td class="headertext">
                            订单报表
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <script type="text/javascript">
                                swfobject.embedSWF("Libs/OpenFlashChart/open-flash-chart-SimplifiedChinese.swf", "OrderChart", "570", "300",
  "9.0.0", "expressInstall.swf",
  { "data-file": "Product/Admin_ProductOrderChart.ashx" }
  );
                            </script>
                            <div id="OrderChart">
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 50%;" valign="top" align="left">
                <table border="0" cellpadding="0" cellspacing="0" class="tablelist">
                    <tr>
                        <td class="headertext">
                            财务报表
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <script type="text/javascript">
                                swfobject.embedSWF("Libs/OpenFlashChart/open-flash-chart-SimplifiedChinese.swf", "DollChart", "570", "300",
  "9.0.0", "expressInstall.swf",
  { "data-file": "Product/Admin_ProductOrderChart.ashx" }
  );
                            </script>
                            <div id="DollChart">
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>--%>
    </form>
</body>
</html>
